<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SortOrder"
    targetNamespace="http://www.tinyforum.com/Sorting.xsd"
    elementFormDefault="qualified"
    xmlns="http://www.tinyforum.com/Sorting.xsd"
    xmlns:mstns="http://www.tinyforum.com/Sorting.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
	<xs:simpleType name="SortOrderDataObject">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Ascending"></xs:enumeration>
			<xs:enumeration value="Descending"></xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="PostSortDataObject">
		<xs:annotation>
			<xs:documentation xml:lang="en">Represents the sort type for listing all the posts under a topic.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="PostDate"></xs:enumeration>
			<xs:enumeration value="LatestReplyDate"></xs:enumeration>			
		</xs:restriction>
	</xs:simpleType>
	
</xs:schema>
